@charset "utf-8";
@charset "utf-8";
/*首页index*/
@import  "helpers/_mixins.scss";                  //常用变量定义
@import  "components/banner.scss";                  //banner
%indexlayout {
	width:1000px;
	margin:0 auto;
	padding:0px;
}
.announcement{
	height:44px;
	line-height:44px;
	background-color:#fff;
	overflow:hidden;
	ul{
		padding-left:10px;
		li{
			a{
				color:#666666;
			}	
		}
	}
	
	span{
		color:#ff9c00;
		margin:0 10px;
	}
	i{
		width:14px;
		height:20px;
		margin:-2px 6px 0 0;
		background-position:-39px 0;
	}
}
.content{
	.layout{
		width:1000px;
		padding:0px;
	}
	#item_1 h3{color:#ff9c00;border-color:#666666;}
	#item_2 h3{color:#627ffe;border-color:#627ffe;}
	#item_3 h3{color:#2192e2;border-color:#2192e2;}
	#item_4 h3{color:#686a76;border-color:#686a76;}
	#item_5 h3{color:#f43682;border-color:#f43682;}
	.list-hd{
		font-size:18px;
		margin-bottom:5px;
		border-bottom:2px solid #666666;
	}
	ul.list_bd{
		li{
			@extend %fn-fl;
			position: relative;
			width:250px;
			height:250px;
			@include  box-shadow(0 0 2px rgba(0,0,0,.2));
			border-top:none;
			background-color:#fff;
			&:not(.first){
				&:hover{
				@include  box-shadow(0 0 15px rgba(0,0,0,.2));
				cursor: pointer;
				}
			}
			a{
				display:block;
				position: relative;
				width:100%;
				height:100%;
				overflow:hidden;
				img{
					position: absolute;
					width: 250px;
					height:170px;
				}
				span{
					position: absolute;
					width:80%;
					display:inline-block;
					text-align:center;
					z-index:10;
					overflow:hidden;
					white-space:nowrap; 
					text-overflow:ellipsis; 
					left:50%;
					margin-left:-100px;
				}
				.list_tit{
					font-size:14px;
					bottom:40px;
					font-weight: 600;

				}
				.list_description{
					font-size:12px;
					color:#cccccc;
					bottom:22px;
				}	
				.newproduct{
					position: absolute;
					width:46px;
					height:46px;
					background-position:0 -72px;
				}
				.omask{
					position: absolute;
					top:0;
					left:0;
					width:100%;
					height:100%;
					background-color:rgba(0,0,0,.7);
					z-index:20;
					p{
						color:#fff;
						text-align:center;
					}
					.omask_price{
						font-size:12px;
						margin-top:90px;
						s{
							margin:0 5px;
						}
					}
					.omask_points{
						em{
							font-size:16px;
							color:#ff9c00;
							margin:0 8px;
						}
					}
					.omask_details{
						margin-top:30px;
						strong{
							display:inline-block;
							width:124px;
							height:26px;
							line-height:26px;
							border-radius: 26px;
							background-color:#ff9c00;
							font-weight: normal;
						}
					}
				}
			}
		}
		.first{
			width:250px;
			height:500px;
			img{
				position: static;
				height:100%;
			}
		}
		.exception{
			width:500px;
			text-align:right;
			span{
				text-align:left;
				left:30px;
				width:270px;
			}
			.list_tit{
				top:50px;
				left:130px;
				
			}
			.list_description{
				top:80px;
				left:130px;
			}
			img{
				position: static;
			}
		}
	}
}

